#ifndef _MAKEROOMDIALOG_H_
#define _MAKEROOMDIALOG_H_

#include <interfacelib/window/panel.h>
#include <interfacelib/window/editbox.h>

#define		SCRIPT_MAKE_ROOM_DIALOG_NAME		"MakeRoomDialog"

class MakeRoomDialog : public interfacelib::Window::PanelWithButton
{
public:
	MakeRoomDialog();
	virtual ~MakeRoomDialog();

	bool create( interfacelib::Window::LoadControl *loadControl );
protected:
	void onMakeRoomOKClick();
	void onMakeRoomCancelClick();

	bool makeMakeRoomPacketReq( netlib::packet::Packet *packet, char *roomName );

private:
	interfacelib::Window::EditBox *m_editRoomName;


};

#endif